<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<h3 id="main-title">唱片详细资料</h3>
<table id="albumDetail">
	<tr>
		<td rowspan="5" id="albumDetail-image"><img
			src="CoverImages/${album.id}.jpg" alt="" /></td>
		<td class="albumDetail-label">专辑名称：</td>
		<td id="albumDetail-title">《${album.title }》</td>
	</tr>
	<tr>
		<td class="albumDetail-label">歌手：${album.artist }</td>
		<td></td>
	</tr>
	<tr>
		<td class="albumDetail-label">定价：${album.price }</td>
		<td></td>
	</tr>
	<tr>
		<td class="albumDetail-label">发行时间：<fmt:formatDate
				pattern="yyyy-MM-dd" value="${album.dateRelease}" /></td>
		<td></td>
	</tr>
	<tr>
		<td class="albumDetail-label"></td>
		<td>
			<form action="purchase" method="post">
				<input type="hidden" name="uid" value="${user.id}" /> <input
					type="hidden" name="aid" value="${album.id}" /> <input
					type="submit" value="购买" />
			</form>
		</td>
	</tr>
	<tr>
		<td class="albumDetail-label center">详细介绍：</td>
		<td colspan="3">${album.description }</td>
	</tr>
</table>

